@import "reset", "mixin", "variable", "commcon";

.header-wrapper{
  position: relative;
  width: 100%;
  height: 170px;
  .header-content{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 56px;
    background-color: rgba(255,255,255,0.4);
    z-index:5;
    .middle{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin: 0 auto;
      width: 1160px;
      height: 100%;
      line-height: 56px;
      font-size: 13px;
      color: #222;
      .info{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
      .user{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
    }
  }
  .header-bg{
    width:100%;
    height: 170px;
    overflow: hidden;
    .bg-img{
      width:100%;
      height: 170px;
      min-width: 1160px;
    }
  }
}
//nav
.tab{
  width: 1160px;
  height: 50px;
  margin: 0 auto;
  font-size: 12px;
  .tab-item{
    display: inline-block;
    padding-left: 0;
    padding-right: 20px;
    padding-top: 10px;
    text-align: center;
    &:hover{
      a{
        color: #1D8CE0;
      }
    }
    &:last-child{
      padding-right: 0;
    }
    a{
      line-height: 25px;
      color: #222;
    }
    .num{
      display: block;
      font-size: 12px;
      line-height: 18px;
      background: rgb(255, 175, 201);
      border-radius: 4px;
      color: #fff;
    }
    .fa-home{
      display: block;
      line-height: 18px;
      color: rgb(255, 175, 201);

    }
  }
}

#book-mainBox{
  width:1152px;
  position: relative;
  margin: 0 auto;
  border: 4px solid #f2f2f2;
  z-index:1;
  min-height: 500px;
  padding-bottom: 20px;

}
.page_list{
  margin-top: -37px;
  float: right;
  position: relative;
  z-index: 2;
}
.end{
  float: left;
  position: relative;
  left:50%
}
.page_list li{
  float: left;
  width: 35px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border: 0.5px solid #ddd;
  color:gray;
  cursor: pointer;
}

.page_list li.active{
  background-color:#E5EDF2 ;
}
#book-mainBox .book-box{
  padding: 15px 0 0 15px;
  float: left;
  opacity: 0;
}
#book-mainBox .book-category{
  width: 190px;
  margin-top: 10px;
}
#book-mainBox .book-category div{
  float: left;
  margin: 0 8px 10px 0;
}
#book-mainBox .book-category .book-category-icon{
  width: auto;
  height: 28px;
  border: 1px solid #BFBFBF;
  line-height: 28px;
  padding: 0 10px 0 10px;
  border-radius: 5px;
  box-shadow:  0 0 1px #908e8e;
  color:#2BA7E7;
  cursor: pointer;
  transition:background-color 0.5s;
  font-size: 12px;
}
#book-mainBox .book-category .book-category-icon:hover{
  background-color:#87BE25;
  color: white;
}
#book-mainBox .book-pic .book-newPost{
  width: 152px;
  height: 32px;
  background-color:#F6697A;
  color:white;
  text-align: center;
  line-height: 32px;
  margin: 0 auto;
  border-radius: 5px;
;
}
#book-mainBox .book-pic{
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow:0 0  5px #ccc;
}
#book-mainBox .book-pic img{
  width: 190px;
  height: auto;
}

#book-mainBox .book-pic .book-title{
  width: 190px;
  color: #2BA7E7;
  margin-top: 5px;
  margin-bottom: 5px;
}
#book-mainBox .book-pic .book-content{
  width: 190px;
}
#book-mainBox .book-pic .book-icon{
  width: 190px;
  font-size: 14px;
  color: #87BE25;;
  div{
    float: left;
  }
}

#book-mainBox .book-box .book-username{
  width: 190px;
  height: 40px;
  margin-top: 10px;
  background-color: #f0f0f0;
}
#book-mainBox .book-box .book-username img{
  width: 40px;
  height: 40px;
  float: left;
  margin-right: 5px;
}
#book-mainBox .book-box .book-username div{
  color: #87BE25;
  text-overflow:ellipsis;
  white-space:nowrap;
  overflow:hidden;
}
#book-mainBox .book-pic .active{
  background-color:#87BE25;
  color:white
}
#preview{
  width: 750px;
}



.pageturn .pagelist {
  display: table-cell;
  vertical-align: middle;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
}

.pageturn li {
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-left: 10px;
  float: left;
  text-align: center;
}

.pageturn li:first-child {
  margin-left: 0;
}

.pageturn li:hover a, .pageturn .active a {
  background: #717171;
  color: #fff;
  border-color: #eaeaea;
}

.pageturn a {
  border: 1px solid #eaeaea;
  display: block;
  height: 28px;
  color: #6c6c6c;
}

.pageturn .long {
  width: 100px;
}

.pageturn .none a {
  border: 0;
}

.pageright {
  float: right;
  width: auto;
  display: inline;
  clear: none;
  margin-top: 10px;
}
